package com.shxy.ui;


import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户登录数据
 */
@Data
public class LoginForm {
    @NotNull(message = "账号不能为空!")
    private String name;
    @NotNull(message = "密码不能为空!")
    private String password;
    @NotNull(message = "请选择用户类型!")
    private String role;
}
